from gevent import monkey
monkey.patch_all()
from gevent import spawn
import time
from threading import Thread

def da():
    for _ in range(3):
        print("哒")
        time.sleep(2)
def mie():
    for _ in range(3):
        print("咩")
        time.sleep(2)

def print_list(name):
    print(name)
    time.sleep(2)

start=time.time()
g1=spawn(da)
g2=spawn(mie)
g1.join()
g2.join()
end=time.time()
print(end-start)
